package com.learn.core.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;

import java.io.Serializable;

/**
 * Description
 *
 * @author zhaohongyu
 * @ClassName LLevelAnswer
 * @date 2021.07.30 11:32
 * @describe 关卡用户答题表
 */
@TableName("l_level_answer")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value="LLevelAnswer对象", description="关卡用户答题表")
public class LLevelAnswer implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "level_answer_id", type = IdType.AUTO)
    private Integer levelAnswerId;

    @TableField("level_son_id")
    private Integer levelSonId;

    @TableField("questions_id")
    private Integer questionsId;


    @TableField("user_answer")
    private String userAnswer;

    @TableField("user_id")
    private Integer userId;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getLevelAnswerId() {
        return levelAnswerId;
    }

    public void setLevelAnswerId(Integer levelAnswerId) {
        this.levelAnswerId = levelAnswerId;
    }

    public Integer getLevelSonId() {
        return levelSonId;
    }

    public void setLevelSonId(Integer levelSonId) {
        this.levelSonId = levelSonId;
    }

    public Integer getQuestionsId() {
        return questionsId;
    }

    public void setQuestionsId(Integer questionsId) {
        this.questionsId = questionsId;
    }

    public String getUserAnswer() {
        return userAnswer;
    }

    public void setUserAnswer(String userAnswer) {
        this.userAnswer = userAnswer;
    }
}
